package com.hotel.dao;

import com.hotel.entity.Users;
import com.hotel.entity.UsersExample;

import java.util.List;


public class usersDao {
    long countByExample(UsersExample example) {
        return 0;
    }

    int deleteByExample(UsersExample example) {
        return 0;
    }

    int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    int insert(Users record) {
        return 0;
    }

    int insertSelective(Users record) {
        return 0;
    }

    List<Users> selectByExample(UsersExample example) {
        return null;
    }

    Users selectByPrimaryKey(Integer id) {
        return null;
    }

    int updateByExampleSelective(Users record,
                                 UsersExample example) {
        return 0;
    }

    int updateByExample(Users record,
                        UsersExample example) {
        return 0;
    }

    int updateByPrimaryKeySelective(Users record) {
        return 0;
    }

    int updateByPrimaryKey(Users record) {
        return 0;
    }

    //分页模糊查询
    public List<Users> pageFuzzyselect(String name,
                                       int start,
                                       int pageSize) {
        return null;
    }

    //分页模糊查询总条数
    public int countFuzzyselect(String name) {
        return 0;
    }
}